module.exports = {
  publicPath: './',
  pages: {
    index: {
      entry: 'src/main.js',
      title: 'Loading...'
    }
  },
  devServer: {
    proxy: {
      '/api': {
        target: 'http://localhost:8000/',
        changeOrigin: true,
        pathRewrite: {
          '^/api': '/'
        }
      }
    }
  }
}